<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/include/top.jsp"%>

<form name="searchForm" action="" method="get">
	<input type="hidden" name="p" value="1" />
	<table>
		<tbody>
			<tr>
				<th><img src="${ctx}/static/images/pages/cen/rig/ico_01.png" align="absmiddle">&nbsp;单位绩效评估</th>
			</tr>
			<tr class="tab_grey">
				<td>评估期： <span class="tab_text">年份</span> <select id="year" name="year" class="tab_textbut">
						<c:forEach var="year" items="${years}">
							<option value="${year}">${year}</option>
						</c:forEach>
				</select> <span class="tab_text">月份</span> <select id="month" name="month" class="tab_textbut">
						<option value="">--</option>
						<c:forEach var="month" items="${months}">
							<option value="${month}">${month}</option>
						</c:forEach>
				</select> <input type="submit" value="查询" class="tab_but" />
				</td>
			</tr>
		</tbody>
	</table>
</form>
<script>
	$("#year").val("${requestScope['selectYear']}");
	$("#month").val("${requestScope['selectMonth']}");
</script>

<c:if test="${empty obj.operationResult}">
	<b>没有符合条件的记录。</b>
</c:if>
<c:if test="${not empty obj.operationResult}">
	<div style="height: 460px; overflow: auto;">

		<table id="listTable">
			<tbody>
				<tr>
					<th width="40%">单位名称</th>
					<th width="30%">应填报报表</th>
					<th width="10%">已经填报</th>
					<th width="10%">被催报</th>
					<th width="10%">被驳回</th>
				</tr>
				<c:forEach items="${obj.operationResult}" var="vo">
				<tr>
					<td align="left">${vo.unitName}</td>
					<td align="left">${vo.sumNum}</td>
					<td align="left">${vo.reportedNum}</td>
					<td align="left">${vo.billNum}</td>
					<td align="left">${vo.rejectNum}</td>
				</tr>
				</c:forEach>

			</tbody>
		</table>
	</div>
</c:if>

<%@ include file="/static/include/bottom.jsp"%>
